{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/gather/index')}">信息管理</a></li>
            <li class="layui-this">查看信息</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/gather/update')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$reserved.reservedName}" placeholder="" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">手机</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$reserved.reservedPhone}" placeholder="" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">预约留言</label>
                        <div class="layui-input-block">
                            <textarea name="" class="layui-textarea" disabled>{$reserved.content}</textarea>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">预约业务</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{if $reserved.nav_id}{$nav_list[$reserved['nav_id']]}{else/}无{/if}" placeholder="" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">图集</label>
                        <div class="layui-input-block">
                            {if condition="!empty($reserved['photo'])"}
                            {foreach name="$reserved['photo']" item="vo"}
                            <div class="photo-list" style="display: inline-block;">
                                <img src="{$vo}" style="max-width:690px;display:block;">
                            </div>
                            {/foreach}
                            {/if}
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">日期</label>
                        <div class="layui-input-block">
                            <input type="text" name="" value="{$reserved.reservedDate}" placeholder="" class="layui-input" disabled>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="id" value="{$reserved.id}">
                            {if $reserved.contact==1}
                            <button class="layui-btn layui-btn-disabled" onclick="return false;">已联系</button>
                            <a class="layui-btn" href="javascript:history.back();">返回</a>
                            {else /}
                            <button class="layui-btn layui-btn-danger" lay-submit lay-filter="*">联系确认</button>
                            {/if}
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}